﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

public partial class ActiveYellow_ActiveYellow : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {
        if (Request.QueryString.HasKeys())
        {
            if (Request.QueryString["listid"] != String.Empty)
                Session["listid"] = Request.QueryString["listid"];
            else
                Session["listid"] = 1;


            if (Request.QueryString["dnis"] != null)
            {
                Session["dnis"] = Request.QueryString["dnis"];
            }
            else
            {
                Session["dnis"] = "9999999999";
            }

            Session["servername"] = Request.QueryString["servername"];
            Session["projectname"] = Request.QueryString["projectname"];
            Session["campaignname"] = Request.QueryString["campaignname"];
            Session["agentid"] = Request.QueryString["agentid"];
            Session["agentfirst"] = Request.QueryString["agentfirst"];
            Session["agentlast"] = Request.QueryString["agentlast"];

            Session["App"] = new DataAccess();

            //ValidateIBListID();
        }
    }
}